/**
 * 
 */
package com.shine.icis.blo;


import com.shine.cotrun.sql.QueryParameters;
import com.shine.cotrun.web.comm.ListPage;
import com.shine.icis.hbean.StockCheckProcStatus;
import com.shine.icis.hbean.StockChk;
import com.shine.icis.hbean.StockChkSurv;

/**
 * @author zsy
 *
 */
public interface IStockCheckService {

	
	/**
	 * 查询交收信息
	 * @author zuohp 2012-07-31
	 * */
	public StockCheckProcStatus getProcStatus(int procID, int queryDate);
	/**
	 * 取的当前系统日期
	 * @author zuohp 2012-08-30
	 * */
	public String getCurrentDate();
	public String getPreviousBusiDate(String currentDate);
	public String getPreviousDate(String currentDate);
	public ListPage<StockChk> getStockChkPage(QueryParameters qp);
	public ListPage<StockChkSurv> getStockChkSurvPage(QueryParameters qp);
	public void txCallCheckProc(String stockProc,int busiDate,String exchangeType) ;
	public void txCallCollectProc(String stockProc,int busiDate,String exchangeType,String srcFlag);
	public void txCallBackupProc(String stockProc,int busiDate) ;
	/**
	 * 删除
	 * @param id
	 */
	public void deleteStockSurv(long id,int queryDate);
	/**
	 * 新增
	 * @param id
	 */
	public void addStockSurv(StockChkSurv surv);
	/**
	 * 修改备注
	 * @param id
	 */
	public void modifySurvNote(StockChkSurv surv,StockChkSurv oldSurv);
	/**
	 * 导出
	 * @param qp
	 * @param dir
	 * @param expType
	 * @return
	 */
    public String csExpStockChk(QueryParameters qp, String dir, String expType);
	
	/**
	 * 导出
	 * @param qp
	 * @param dir
	 * @param expType
	 * @return
	 */
	public String csExpStockChkSurv(QueryParameters qp, String dir, String expType);
	/**
	 * 取得stockChk
	 * @return
	 */
	public StockChk getStockChk(long id);
	/**
	 * 修改备注
	 * @return
	 */
	public void modifyNote(long id, String note );
}
